
/*
 * Hlpay-Plus aggregate payment system. Copyright
 * (c) 2022-2023 Hlpay Team Copyright has the right of final interpretation.
 */
package com.hlkj.pay.app.transfer;

import com.hlkj.pay.infrastructure.model.admin.OrganizationDO;
import com.hlkj.pay.vo.admin.resp.organization.OrganizationResp;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;
/**
 * @author HlpayTeam
 * @date 2024/09/01 15:14
 */
@Mapper
public interface OrganizationDoToResp {
	OrganizationDoToResp INSTANCE = Mappers.getMapper(OrganizationDoToResp.class);
	/**
	 * bo to resp
	 * @param organizationList
	 * @return
	 */
	List<OrganizationResp> doToRespList(List<OrganizationDO> organizationList);
	/**
	 * bo to resp
	 * @param organizationDO
	 * @return
	 */
	OrganizationResp domainToResp(OrganizationDO organizationDO);
	
}
